package com.mutual.assistance.task.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chenyuxin
 * @version 1.0
 * @description 任务通用参数
 * @date 2023/4/30 11:41
 */
@ApiModel(value = "任务通用参数")
@Data
public class TaskParamsVO {

    @ApiModelProperty("发布者姓名")
    @NotBlank(message = "发布者姓名不能为空")
    private String publisher;

    @ApiModelProperty("任务id")
    @NotBlank(message = "任务id不能为空")
    private String taskId;
}
